home *** CD-ROM | disk | FTP | other *** search
- /* This header file defines some functions for using Mac dialog boxes.
- See the README file that should be in the same folder with this file.
- */
-
-
- #include "stdio.h" // for def of type FILE; used in inputBoxes.c anyway
-
- void TellUser(const Str255 message);
-
- short AskUser(const Str255 question, short* answeredYes);
- void AskUserWithoutCancel(const Str255 question, short* answeredYes);
-
- short InputString(const Str255 prompt, Str255 str, const short maxLength);
- short InputWord(const Str255 prompt, Str255 str, const short maxLength);
- short InputLongInt(const Str255 prompt, long* n, const long min, const long max);
- short InputDouble(const Str255 prompt, double* x, const double min, const double max);
-
- FILE* OpenOldFile(Str255 fileName);
- FILE* OpenNewFile(const Str255 prompt, Str255 fileName);
-